/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package reflect;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Administrator
 */
public class HelloSpeaker implements HelloSpeak{
    
    public static void helloTest(String name){
    
        Logger.getLogger(HelloSpeaker.class.getName()).log(Level.INFO, "hello()方法开始");
        System.out.println("哈喽" + name);
        Logger.getLogger(HelloSpeaker.class.getName()).log(Level.INFO, "hello()方法结束");
        
    } 
    
    public void hello(String name) { 
    
        System.out.println("哈喽" + name);
    }
}
